#ifndef MYDRAW_H
#define MYDRAW_H

#include <QtGui>

class MyDraw : public QDialog
{
Q_OBJECT
public:
	MyDraw();
private:
	QPainter p;
	QPen pen;
	QPushButton *btn;
	QComboBox *colorBox, *styleBox;
	QWidget *drawWidget;

	void paintEvent(QPaintEvent *e);
	void colorBoxInit();
	void styleBoxInit();
	void drawWidgetInit();
private slots:
	void changeSlot();
};

#endif
